import pymysql
def person():
    con = pymysql.connect(host="localhost", port=3306, user="root", passwd=123456, db="person")
    cursor=con.cursor()
    cursor.execute('''create table person
    (username varchar(20),
    age int,
    sex char(4),
    high int)''')
    con.commit()
    con.close()
